package com.cskaoyan.service;

import com.cskaoyan.model.MarketAddress;

import java.util.List;

public interface AddressService {
    MarketAddress selectById(Integer id);
    List<MarketAddress> list(Integer userId);

    Integer saveAddress(Integer userId, MarketAddress address);

    Integer delete(Integer userId, Integer addressId);

    MarketAddress getDefaultAddress(Integer userId);

    MarketAddress findAddrById(Integer userId, Integer addressId);
}
